package cn.edu.xmu.oomall.aftersales;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Jiawei Zheng
 * @date 2021-12-11
 */
@SpringBootApplication(scanBasePackages = {"cn.edu.xmu.oomall.core", "cn.edu.xmu.oomall.aftersales", "cn.edu.xmu.privilegegateway.annotation"})
@EnableConfigurationProperties
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("cn.edu.xmu.oomall.aftersales.mapper")
public class AftersalesApplication {
    public static void main(String[] args) {
        SpringApplication.run(AftersalesApplication.class, args);
    }
}